package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaDeliverItem", catalog="Id")
public class TccFbaDeliverItem extends BaseEntity<TccFbaDeliverItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="FbaBoxUpInfoId", nameJava="fbaBoxUpInfoId", typeDataBase="bigint")
	private Long fbaBoxUpInfoId;
	@YsField(nameDataBase="DeliveryWindowOptionId", nameJava="deliveryWindowOptionId", typeDataBase="varchar")
	private String deliveryWindowOptionId;
	@YsField(nameDataBase="TransportationOptionId", nameJava="transportationOptionId", typeDataBase="varchar")
	private String transportationOptionId;
	@YsField(nameDataBase="FbaPlanBid", nameJava="fbaPlanBid", typeDataBase="varchar")
	private String fbaPlanBid;
	@YsField(nameDataBase="FbaBoxUpBid", nameJava="fbaBoxUpBid", typeDataBase="varchar")
	private String fbaBoxUpBid;
	@YsField(nameDataBase="ApiTrackStatus", nameJava="apiTrackStatus", typeDataBase="tinyint")
	private Integer apiTrackStatus;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaDeliverItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TccFbaDeliverItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public Long getFbaBoxUpInfoId() {
		return fbaBoxUpInfoId;
	}
	public TccFbaDeliverItem setFbaBoxUpInfoId(Long fbaBoxUpInfoId) {
		this.fbaBoxUpInfoId = fbaBoxUpInfoId;
		return this;
	}
	public String getDeliveryWindowOptionId() {
		return deliveryWindowOptionId;
	}
	public TccFbaDeliverItem setDeliveryWindowOptionId(String deliveryWindowOptionId) {
		this.deliveryWindowOptionId = deliveryWindowOptionId;
		return this;
	}
	public String getTransportationOptionId() {
		return transportationOptionId;
	}
	public TccFbaDeliverItem setTransportationOptionId(String transportationOptionId) {
		this.transportationOptionId = transportationOptionId;
		return this;
	}
	public String getFbaPlanBid() {
		return fbaPlanBid;
	}
	public TccFbaDeliverItem setFbaPlanBid(String fbaPlanBid) {
		this.fbaPlanBid = fbaPlanBid;
		return this;
	}
	public String getFbaBoxUpBid() {
		return fbaBoxUpBid;
	}
	public TccFbaDeliverItem setFbaBoxUpBid(String fbaBoxUpBid) {
		this.fbaBoxUpBid = fbaBoxUpBid;
		return this;
	}
	public Integer getApiTrackStatus() {
		return apiTrackStatus;
	}
	public TccFbaDeliverItem setApiTrackStatus(Integer apiTrackStatus) {
		this.apiTrackStatus = apiTrackStatus;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaDeliverItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaDeliverItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaDeliverItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaDeliverItem tccFbaDeliverItem(
		String pbid,
		Long fbaBoxUpInfoId,
		String deliveryWindowOptionId,
		String transportationOptionId,
		String fbaPlanBid,
		String fbaBoxUpBid,
		Integer apiTrackStatus,
		Integer status
			) {
		TccFbaDeliverItem entity = new TccFbaDeliverItem();
		entity.setPbid(pbid);
		entity.setFbaBoxUpInfoId(fbaBoxUpInfoId);
		entity.setDeliveryWindowOptionId(deliveryWindowOptionId);
		entity.setTransportationOptionId(transportationOptionId);
		entity.setFbaPlanBid(fbaPlanBid);
		entity.setFbaBoxUpBid(fbaBoxUpBid);
		entity.setApiTrackStatus(apiTrackStatus);
		entity.setStatus(status);
		return entity;
	}
}